stop

fun stop()

Closes the window and hands the picture back to the view. Does nothing when it is not open.